﻿@model ConsoleApplication2.Models.sc_room

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>sc_room</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.room)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.room)
            @Html.ValidationMessageFor(model => model.room)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.day1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.day1)
            @Html.ValidationMessageFor(model => model.day1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.day2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.day2)
            @Html.ValidationMessageFor(model => model.day2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.day3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.day3)
            @Html.ValidationMessageFor(model => model.day3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.day4)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.day4)
            @Html.ValidationMessageFor(model => model.day4)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.day5)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.day5)
            @Html.ValidationMessageFor(model => model.day5)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.day6)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.day6)
            @Html.ValidationMessageFor(model => model.day6)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.day7)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.day7)
            @Html.ValidationMessageFor(model => model.day7)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.doct)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.doct)
            @Html.ValidationMessageFor(model => model.doct)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.type)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.type)
            @Html.ValidationMessageFor(model => model.type)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SCR_Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SCR_Name)
            @Html.ValidationMessageFor(model => model.SCR_Name)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
